package com.lkx.service.impl;

import java.util.List;
import java.util.Map;
import com.lkx.dao.TblUserPartMapper;
import com.lkx.domain.TblUserPart;
import com.lkx.service.TblUserPartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * ClassName: TblUserPartServiceImpl
 * Function:  TODO
 * Date:      2020-02-24 21:58:47
 * author     素剑步青尘
 * version    V1.0
 */
@Service
public class TblUserPartServiceImpl implements TblUserPartService{

	@Resource
	private TblUserPartMapper tblUserPartMapper;

	@Override
	public TblUserPart selectByPrimaryKey(Long id){
		return tblUserPartMapper.selectByPrimaryKey(id);
	}

	@Override
	public List<TblUserPart> list(Map<String, Object> map){
		return tblUserPartMapper.list(map);
	}

	@Override
    public int count(Map<String, Object> map){
		return tblUserPartMapper.count(map);
	}

	@Override
    public int insert(TblUserPart record){
		return tblUserPartMapper.insert(record);
	}

	@Override
    public int batchInsert(List<TblUserPart> list){
		return tblUserPartMapper.batchInsert(list);
	}

	@Override
    public int updateByPrimaryKey(TblUserPart record){
		return tblUserPartMapper.updateByPrimaryKey(record);
	}

	@Override
	public int batchUpdate(List<TblUserPart> list){
		return tblUserPartMapper.batchUpdate(list);
	}

	@Override
    public int deleteByPrimaryKey(Long id){
		return tblUserPartMapper.deleteByPrimaryKey(id);
	}

	@Override
    public int batchRemove(Long[] ids){
		return tblUserPartMapper.batchRemove(ids);
	}

}

